#include <iostream>
#include <string>
using namespace std;

class person
{
public:
    int age;
    string name;
    int rank;
public:
    person()
    {
        cout<<"wucan"<<endl;
        age=10;
    }

    person(int a)
    {
        cout<<"youcan"<<endl;
    }

    person (const person &p)
    {
        cout<<"copy"<<endl;
        age=p.age;
    }
    
    ~person()
    {
        cout<<"xigou"<<endl;
    }
    
};

void test01()
{
    person p;
}

void test02()
{
    person(10);
}

int main ()
{  
    person p1;
    person p2(p1);

    test02();
    cout<<p2.age<<endl;
}